Skip to content

Conversation

daradib
Copy link

@daradib daradib commented Jan 11, 2025

Adafruit_Sensor.printSensorDetails() uses Serial.print, Serial.println, and F, which are specific to Arduino and Arduino-compatible libraries. When building for a compatible platform like Particle, ARDUINO is not defined, but Arduino.h (or Particle.h) is available.

@daradib
Copy link
Author

daradib commented Jan 11, 2025

It looks like the failed check is caused by an unrelated change in the newer version of clang-format included in Ubuntu 24.04 (previous checks ran on Ubuntu 22.04).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant